package com.xiaoming.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xiaoming.dao.UserDao;
import com.xiaoming.entity.User;
import com.xiaoming.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * (User)表服务实现类
 *
 * @author makejava
 * @since 2023-03-12 18:08:44
 */
@Service("userService")
public class UserServiceImpl extends ServiceImpl<UserDao, User> implements UserService {

    @Resource
    private UserDao userDao;
    @Override
    public int updateUserById(User user) {
        return userDao.updateById(user);
    }
}

